/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package passwordchecker;

/**
 *
 * @author igor
 */
public class sequencia2 {
    // Esses metodos são para simplificar o programa principal passWordChecker02 tods retornam um String
    public void sequenciaBonus1(int nAlphaUC,int nLength,int nScore, String sAlphaUC){
    
    if (nAlphaUC > 0 && nAlphaUC < nLength) {
			nScore = nScore + (nLength - nAlphaUC) * 2;
			sAlphaUC = "+ " + (nLength - nAlphaUC) * 2;
		}
        System.out.println("nAlphaUCBonus is: " + sAlphaUC);
               
     
    }

    public void sequenciaBonus2(int nAlphaLC,int nLength,int nScore,String sAlphaLC){
        
        
		if (nAlphaLC > 0 && nAlphaLC < nLength) {
			nScore = nScore + (nLength - nAlphaLC) * 2;
			sAlphaLC = "+ " + (nLength - nAlphaLC) * 2;
		                                        }
                
        System.out.println("nAlphaLCBonus is: " + sAlphaLC);
    }
    
    
    public void  sequenciaBonus3(int nNumber,int nLength,int nScore, int nMultNumber, String sNumber){
    
		if (nNumber > 0 && nNumber < nLength) {
			nScore = nScore + nNumber * nMultNumber;
			sNumber = "+ " + nNumber * nMultNumber;
		}
                
              System.out.println("nNumberBonus is: " + sNumber);
        
    }
    
   public void sequenciaBonus4(int nSymbol,int nScore,int nMultSymbol,String sSymbol){
		if (nSymbol > 0) {
			nScore = nScore + nSymbol * nMultSymbol;
			sSymbol = "+ " + nSymbol * nMultSymbol;
		                  }
           
               System.out.println("nSymbolBonus is: " + sSymbol);
                  }
public void sequenciaBonus5(int nMidChar,int nScore,int nMultMidChar, String sMidChar){	


                      if (nMidChar > 0) {
			nScore = nScore + nMidChar * nMultMidChar;
			sMidChar = "+ " + nMidChar * nMultMidChar;
		           }
     System.out.println("nMidCharBonus is: " + sMidChar);
   
    
}
    
}


